Documentation

imonit_client.php

This is the client-side library required for using the i-mon-it service. There are four files that need to be plced on your web servers: 1. imonit_client.php: This is the core requirement holding the logic and required methods 1. imonit_client_lib.php: 1. imonit_client.inc; This is a helperfile, which is loading the client libary and the client side libary into your web application.

imonit.token This is the token file identifying your webappliction. This is individual for each of your web applications monitored by the i-mon-it service.

This library contains several static functions, which make remote calls to the i-mon-it server.In order to use the i-mon-it micro services you need to include this library and imonit_client_lib.php into every page and class you want to monitor with the i-mon-it service. In order to use the services you need to call the centrali-mon-it Saas micro services. Below you find the explanation how to do this:

Tags
see
imonit_client::start()
see
imonit_client::gettokenid

()

see
imonit_client::mid()
see
imonit_client::end()
see
imonit_client::startPage

()

see
imonit_client::lastentry()
see
imonit_client::midPage()
see
imonit_client::endPage()
see
imonit_client::__construct()
see
imonit_client::verifytoken()
see
imonit_client::updatetoken()
see
imonit_client::ua()
author

Stephan Haux

copyright

i-mon-it 2026

version
00.01.199

10.02.2026

name

i-mon-it Client

category

library @api

Table of Contents

Classes

imonit_client
This is the implementation of the client-side class to use the i-mon-it service.

Constants

checktoken  = \listener . '/checktoken.php'
URL for the verifytoken service
count  = \listener . 'count.php'
URL for the ecount service.
end  = \listener . 'end.php'
URL for the end service.
endpage  = \listener . '/endpage.php'
URL for the endpage service.
imonit_server  = 'server.i-mon-it.de'
itoken  = 'token'
This is the name of the session variable holding information about the token number used on the website to be monitored.
itokenfilename  = 'imonit.token'
Name of the local file holding the token information.
lastentry  = \listener . 'lastentry.php'
This is the microservice for retrieving the last id of a particular call.
listener  = 'http://' . \imonit_server . '/'
This URL used by the central i-mon-it tracking service to fire monitoring and administrative requests.
local_server  = '.i-mon-it.local'
This is the name of the i-mon-it website.
mid  = \listener . 'mid.php'
URL for the mid service.
midpage  = \listener . '/midpage.php'
URL for the midpage service.
ping  = \listener . 'ping.php'
This URL is used to create the ping Microservice of the system.
start  = \listener . 'start.php'
this is the URL used to send the monitoring request for the start.
startpage  = \listener . 'startpage.php'
This is the URL for the startpage service.
ua  = \listener . 'UA.php'
This is the URL base for retrieving the Useragent id.

Constants

endpage

URL for the endpage service.

public string endpage = \listener . '/endpage.php'

URL for the endpage service

Tags
see
imonit_client::endpage

()

imonit_server

public mixed imonit_server = 'server.i-mon-it.de'

itoken

This is the name of the session variable holding information about the token number used on the website to be monitored.

public mixed itoken = 'token'

you

itokenfilename

Name of the local file holding the token information.

public string itokenfilename = 'imonit.token'

Name of the tokenfile holding the correct information.

lastentry

This is the microservice for retrieving the last id of a particular call.

public string lastentry = \listener . 'lastentry.php'

listener

This URL used by the central i-mon-it tracking service to fire monitoring and administrative requests.

public string listener = 'http://' . \imonit_server . '/'

Do not change the value of the constant.

URL used the fire monitoring and administrative requests to the i-mon-it service.

local_server

This is the name of the i-mon-it website.

public string local_server = '.i-mon-it.local'

name of the i-mon-it website

midpage

URL for the midpage service.

public string midpage = \listener . '/midpage.php'

URL for the endpage service

Tags
see
imonit_client::endpage

()

ping

This URL is used to create the ping Microservice of the system.

public string ping = \listener . 'ping.php'

The Url of the Microservice reaching the ping Microservice

Tags
see
imoint_client::ping

()

start

this is the URL used to send the monitoring request for the start.

public string start = \listener . 'start.php'

URL start Service

Tags
see
imonit_client::start

()

startpage

This is the URL for the startpage service.

public string startpage = \listener . 'startpage.php'

URL for the startpage service

Tags
see
imonit_client::startpage

()


        
On this page

Search results